<%@ page language="java" contentType="text/html; charset=UTF-8" import="web_hr.*,java.sql.*"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%
	String id = request.getParameter("userid");
	Model emp = new Model("hr_employee");
	emp.delete("emp_id",Integer.valueOf(id));
%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h2>Deleted Successfully!!</h2>
<td>wating for 2 second...</td>
<%
response.setHeader("refresh","2;URL = show.jsp");
%>
</body>
</html>